-
Notifications
You must be signed in to change notification settings - Fork 1
Remove output stream logic. #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| recorder.setCloseOutputStream(true); | ||
| try | ||
| { | ||
| recorder.flush(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| public boolean isCloseOutputStream() | ||
| { | ||
| return recorder.isCloseOutputStream(); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| long startTime = System.currentTimeMillis(); | ||
| Frame capturedFrame; | ||
| while (!magewellMuxer.isCloseOutputStream() && ((capturedFrame = grabber.grabAtFrameRate()) != null)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, so were we actually using the closeOutputStream variable to signal that we wanted to stop the recording?? 😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added back the closed logic, but not using an unrelated internal variable



No description provided.